<?php
$config = array(
             	'employee_add' => array(array(
                                'field' => 'Personal_ID',
                                'label' => 'Personal_ID',
                                'rules' => 'required|trim|xss_clean|callback_Personal_ID_check'),
								array(
                                'field' => 'EE_ID',
                                'label' => 'EE_ID',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Password',
                                'label' => 'Password',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Name',
                                'label' => 'tên',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'DOB',
                                'label' => 'DOB',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Phone_NO',
                                'label' => 'Phone_NO',
                                'rules' => 'trim|xss_clean|callback_Phone_Number_check'),
								array(
                                'field' => 'Street',
                                'label' => 'Street',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Position',
                                'label' => 'Position',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Salary',
                                'label' => 'Salary',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Yrs_of_exp',
                                'label' => 'Yrs_of_exp',
                                'rules' => 'trim|xss_clean|numeric'),
								array(
                                'field' => 'Education_Level',
                                'label' => 'Education_Level',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Hired_Dt',
                                'label' => 'Hired_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Term_Dt',
                                'label' => 'Term_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Active',
                                'label' => 'Active',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Dichvu',
                                'label' => 'Dichvu',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Delete',
                                'label' => 'Delete',
                                'rules' => 'trim|xss_clean')),
					'employee_edit' => array(array(
                                'field' => 'Personal_ID',
                                'label' => 'Personal_ID',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'EE_ID',
                                'label' => 'EE_ID',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Password',
                                'label' => 'Password',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Name',
                                'label' => 'tên',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'DOB',
                                'label' => 'DOB',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Phone_NO',
                                'label' => 'Phone_NO',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Street',
                                'label' => 'Street',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Position',
                                'label' => 'Position',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Salary',
                                'label' => 'Salary',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Yrs_of_exp',
                                'label' => 'Yrs_of_exp',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Education_Level',
                                'label' => 'Education_Level',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Hired_Dt',
                                'label' => 'Hired_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Term_Dt',
                                'label' => 'Term_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Dichvu',
                                'label' => 'Dichvu',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Active',
                                'label' => 'Active',
                                'rules' => 'trim|xss_clean')),
						'customer_add' => array(array(
                                'field' => 'F_Name',
                                'label' => 'F_Name',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'L_Name',
                                'label' => 'L_Name',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'DOB',
                                'label' => 'DOB',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Phone_NO',
                                'label' => 'Phone_NO',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Street',
                                'label' => 'Street',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'District_City',
                                'label' => 'District_City',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Membership_Type',
                                'label' => 'Membership_Type',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Email_Addr',
                                'label' => 'Email_Addr',
                                'rules' => 'trim|valid_email|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Notes',
                                'label' => 'Ghi chú',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Delete',
                                'label' => 'Delete',
                                'rules' => 'trim|xss_clean')),

				'customer_edit' => array(array(
                                'field' => 'F_Name',
                                'label' => 'F_Name',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'L_Name',
                                'label' => 'L_Name',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'DOB',
                                'label' => 'DOB',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Phone_NO',
                                'label' => 'Phone_NO',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Street',
                                'label' => 'Street',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'District_City',
                                'label' => 'District_City',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Membership_Type',
                                'label' => 'Membership_Type',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Email_Addr',
                                'label' => 'Email_Addr',
                                'rules' => 'trim|valid_email|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Notes',
                                'label' => 'Ghi chú',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Delete',
                                'label' => 'Delete',
                                'rules' => 'trim|xss_clean')),
						'promotion_add' => array(array(
                                'field' => 'Eff_Dt',
                                'label' => 'Eff_Dt',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Exp_Dt',
                                'label' => 'Exp_Dt',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Serv_ID1',
                                'label' => 'Serv_ID1',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Discount_Percent1',
                                'label' => 'Discount_Percent1',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Serv_ID2',
                                'label' => 'Serv_ID2',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Discount_Percent2',
                                'label' => 'Discount_Percent2',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Serv_ID3',
                                'label' => 'Serv_ID3',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Discount_Percent3',
                                'label' => 'Discount_Percent3',
                                'rules' => 'trim|xss_clean|integer')),

				'promotion_edit' => array(array(
                                'field' => 'Eff_Dt',
                                'label' => 'Eff_Dt',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Exp_Dt',
                                'label' => 'Exp_Dt',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Serv_ID1',
                                'label' => 'Serv_ID1',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Discount_Percent1',
                                'label' => 'Discount_Percent1',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Serv_ID2',
                                'label' => 'Serv_ID2',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Discount_Percent2',
                                'label' => 'Discount_Percent2',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Serv_ID3',
                                'label' => 'Serv_ID3',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Discount_Percent3',
                                'label' => 'Discount_Percent3',
                                'rules' => 'trim|xss_clean|integer')),
				'services_add' => array(array(
                                'field' => 'Serv_Name',
                                'label' => 'Serv_Name',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Serv_Name_EN',
                                'label' => 'Serv_Name_EN',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Price',
                                'label' => 'Price',
                                'rules' => 'required|trim|xss_clean|integer'),
								array(
                                'field' => 'TienTip',
                                'label' => 'tien tip',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Percent_Serv',
                                'label' => 'Percent_Serv',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),
									array(
                                'field' => 'Time',
                                'label' => 'Thời gian',
                                'rules' => 'trim|xss_clean|integer'),array(
                                    
                                'field' => 'Descriptions',
                                'label' => 'Mô tả',
                                'rules' => 'trim|xss_clean'),),

				'services_edit' => array(array(
                                'field' => 'Serv_Name',
                                'label' => 'Serv_Name',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Serv_Name_EN',
                                'label' => 'Serv_Name_EN',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Price',
                                'label' => 'Price',
                                'rules' => 'required|trim|xss_clean|integer'),
								array(
                                'field' => 'TienTip',
                                'label' => 'tien tip',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Percent_Serv',
                                'label' => 'Percent_Serv',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Time',
                                'label' => 'Thời gian',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),array(
                                    
                                'field' => 'Descriptions',
                                'label' => 'Mô tả',
                                'rules' => 'trim|xss_clean'),),
				'categories_add' => array(array(
                                'field' => 'Name',
                                'label' => 'Name',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),	array(
                                'field' => 'Vip',
                                'label' => 'Vip',
                                'rules' => 'xss_clean')),

				'categories_edit' => array(array(
                                'field' => 'Name',
                                'label' => 'Name',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean')),
				'transaction_add' => array(array(
                                'field' => 'Cust_ID',
                                'label' => 'khách hàng',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Serv_ID',
                                'label' => 'dịch vụ',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Serv_Name',
                                'label' => 'Ten dich vu',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Promo_ID',
                                'label' => 'Promo_ID',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'EE_ID',
                                'label' => 'EE_ID',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'EE_Name',
                                'label' => 'Ten nguoi tip',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Bonus',
                                'label' => 'Bonus',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Discount_Percent',
                                'label' => 'Discount_Percent',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Money',
                                'label' => 'Money',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Price',
                                'label' => 'Price',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Completed',
                                'label' => 'Completed',
                                'rules' => 'trim|xss_clean')),

				'transaction_edit' => array(array(
                                'field' => 'Cust_ID',
                                'label' => 'Cust_ID',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Serv_ID',
                                'label' => 'Serv_ID',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Promo_ID',
                                'label' => 'Promo_ID',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'EE_ID',
                                'label' => 'EE_ID',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Bonus',
                                'label' => 'Bonus',
                                'rules' => 'trim|xss_clean|integer'),
								array(
                                'field' => 'Discount_Percent',
                                'label' => 'Discount_Percent',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Money',
                                'label' => 'Money',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Completed',
                                'label' => 'Completed',
                                'rules' => 'trim|xss_clean')),
						'phatsinh_add' => array(array(
                                'field' => 'Content',
                                'label' => 'Content',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Price',
                                'label' => 'Price',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'auto',
                                'label' => 'auto',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'active',
                                'label' => 'active',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean')),

				'phatsinh_edit' => array(array(
                                'field' => 'Content',
                                'label' => 'Content',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'Price',
                                'label' => 'Price',
                                'rules' => 'required|trim|xss_clean'),
								array(
                                'field' => 'auto',
                                'label' => 'auto',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'active',
                                'label' => 'active',
                                'rules' => 'trim|xss_clean'),
								array(
                                'field' => 'Create_Dt',
                                'label' => 'Create_Dt',
                                'rules' => 'trim|xss_clean')),

			   );